﻿//功能：委托单详情控件
//
//
//日期：20181126
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using Model;

namespace LKSYS.OrderDetails
{
    public partial class FM_SNHNTKY : UserControl
    {
        /// <summary>
        /// 水泥混凝土抗压委托单
        /// </summary>
        private SNOrder _snHNTKYOrder;

        public FM_SNHNTKY()
        {
            InitializeComponent();
        }

        public FM_SNHNTKY(SNOrder sNOrder)
        {
            InitializeComponent();
            _snHNTKYOrder = sNOrder;
        }

        private void LoadBind()   
        {
            bsData.DataSource = _snHNTKYOrder;
        }

        private void FM_SNHNTKY_Load(object sender, EventArgs e)
        {
            LoadBind();
        }
    }
}
